package pe.gob.sunarp.entidad;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;


/**
 * The persistent class for the TT_PART_ST database table.
 * 
 */
//@Entity
//@Table(name="TT_PART_ST")
public class TtPartSt implements Serializable {
	private static final long serialVersionUID = 1L;
	private String areaRegId;
	private String codLibro;
	private String flag;
	private String numPartida;
	private String oficRegId;
	private BigDecimal refnumPart;
	private String regPubId;

    public TtPartSt() {
    }


	@Column(name="AREA_REG_ID", nullable=false, length=5)
	public String getAreaRegId() {
		return this.areaRegId;
	}

	public void setAreaRegId(String areaRegId) {
		this.areaRegId = areaRegId;
	}


	@Column(name="COD_LIBRO", nullable=false, length=3)
	public String getCodLibro() {
		return this.codLibro;
	}

	public void setCodLibro(String codLibro) {
		this.codLibro = codLibro;
	}


	@Column(length=1)
	public String getFlag() {
		return this.flag;
	}

	public void setFlag(String flag) {
		this.flag = flag;
	}


	@Column(name="NUM_PARTIDA", nullable=false, length=8)
	public String getNumPartida() {
		return this.numPartida;
	}

	public void setNumPartida(String numPartida) {
		this.numPartida = numPartida;
	}


	@Column(name="OFIC_REG_ID", nullable=false, length=2)
	public String getOficRegId() {
		return this.oficRegId;
	}

	public void setOficRegId(String oficRegId) {
		this.oficRegId = oficRegId;
	}


	@Column(name="REFNUM_PART", nullable=false)
	public BigDecimal getRefnumPart() {
		return this.refnumPart;
	}

	public void setRefnumPart(BigDecimal refnumPart) {
		this.refnumPart = refnumPart;
	}


	@Column(name="REG_PUB_ID", nullable=false, length=2)
	public String getRegPubId() {
		return this.regPubId;
	}

	public void setRegPubId(String regPubId) {
		this.regPubId = regPubId;
	}

}